package com.project.service.Impl;

import com.project.bean.CityBean;
import com.project.dao.ICityDao;
import com.project.dao.impl.CityDaoImpl;
import com.project.service.ICityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CityServiceImpl implements ICityService {

    private ICityDao dao =new CityDaoImpl();
    @Override
    public List<CityBean> findById(int countryId) {

        return dao.findById(countryId);
    }
}
